package com.bing.bingPro.enums;

public enum TimeGranEnums {
    DAY("day",null),
    MONTH("month","yyyyMM"),
    YEAR("year","yyyy");
    private String code;
    private String format;
    TimeGranEnums(String code, String format){
        this.code = code;
        this.format = format;
    }
    public String getCode(){
        return code;
    }
    public String getFormat(){
        return format;
    }


}
